# name : logger: info/warn ifelse condition
# key : logger@log_info_warn_ifelse_condtion
# key : logger.log_info_warn_ifelse_condtion
# contributor: Shuguang Sun
# --
logger::log_levels(
logger::as.loglevel(ifelse(${1:test}, ${2:$$(yas-choose-value '("logger::INFO" "logger::WARN"))}, ${3:$$(yas-choose-value '("logger::WARN" "logger::INFO"))})),
"$0"
)
